package com.ld.security.auth.server.modules.ge.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.ld.security.auth.server.modules.ge.constant.GeModelConstant;
import com.ld.security.common.mybatis.anno.SqlKey;
import com.ld.security.common.core.base.column.ListString;
import com.ld.security.common.mybatis.constant.SqlCondition;
import com.ld.security.common.mybatis.base.entity.SuperEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@TableName("ge_model")
@ApiModel("模型")
@Data
public class GeModel extends SuperEntity

{


    @SqlKey(SqlCondition.like)
    @ApiModelProperty("数据库")
    private String tableSchema;

    @SqlKey(SqlCondition.like)
    @ApiModelProperty("表明")
    private String tableName;

    @SqlKey(SqlCondition.like)
    @ApiModelProperty("注释")
    private String tableComment;


    @SqlKey(SqlCondition.like)
    @ApiModelProperty("标题")
    private String label;

    @SqlKey(SqlCondition.like)
    @ApiModelProperty("摘要")
    private String digest;

    @SqlKey
    @ApiModelProperty("模型模板标号")
    private String modelTelId;

    @SqlKey
    @ApiModelProperty("表格类型")
    private GeModelConstant.tableType tableType;

    @SqlKey(SqlCondition.like)
    @ApiModelProperty("备注")
    private String remark;

    @SqlKey(SqlCondition.like_right)
    @ApiModelProperty("请求路径")
    private ListString requestUrls;

    @SqlKey
    @ApiModelProperty("类型")
    private GeModelConstant.modelType modelType;

}
